@import url('assets/style/mixin.less');
.HMfilterDropdown {
  flex-shrink: 0;
  width: 100vw;
  height: 88px;
  position: fixed;
  z-index: 997;
  flex-wrap: nowrap;
  display: flex;
  flex-direction: row;
  top: var(--window-top);
  left: 0;
  margin-top: -1px;
  view {
    display: flex;
    flex-wrap: nowrap;
  }
  taro-view-core {
    display: flex;
    flex-wrap: nowrap;
  }
}
.region {
  flex: 1;
  height: 44px;
}
.nav {
  width: 100vw;
  height: 88px;
  border: none;
  z-index: 12;
  background-color: #ffffff;
  flex-direction: row;

  .first-menu {
    width: 100vw;
    font-size: 26px;
    color: #757575;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transition: color 0.2s linear;
    .name {
      height: 40px;
      // .text-overflow(@lines: 1);
      text-align: center;
      text-overflow: clip;
      overflow: hidden;
    }
    .at-icon {
      width: 26px;
      height: 26px;
      margin-left: 4px;
      align-items: center;
      justify-content: center;
      transition: transform 0.2s linear, color 0.2s linear;
      color: #bfbfbf;
    }
    &.on {
      color: #1784fc;
      .at-icon {
        color: #1784fc;
      }
    }
  }
}
.sub-menu-class {
  width: 100vw;
  position: absolute;
  left: 0;
  transform: translate3d(0, -100%, 0);
  max-height: 70vh;
  background-color: #ffffff;
  z-index: 11;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex-direction: row;
  transition: transform 0.15s linear;
  border-radius: 0 0 40px 40px;
  margin-top: -1px;
  &.hide {
    display: none;
  }

  &.show {
    transform: translate3d(0, calc(89px), 0);
  }
}
.area {
  width: 50vw;
  height: 70vh;
  flex-direction: column;

  .sub-menu {
    min-height: 88px;
    font-size: 26px;
    flex-direction: column;
    padding-right: 30px;
    align-items: center;

    > .menu-name {
      font-size: 24px;
      padding: 10px 0;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      min-height: 88px;
    }
  }

  &.first {
    flex-shrink: 0;
    width: 50vw;
    background-color: #ffffff;

    .sub-menu {
      padding-left: 30px;

      &.on {
        background-color: #f6f6f6;
      }
    }
  }

  &.alone {
    max-height: 70vh;
    min-height: 340px;
    height: auto;

    .sub-menu {
      min-height: calc(88px - 1px);
      margin-left: 30px;

      &.on {
        color: #1784fc;

        > .menu-name {
          color: #1784fc;
        }
      }
    }
  }

  &.not-first {
    .sub-menu {
      min-height: calc(88px - 1px);
      margin-left: 30px;

      > .menu-name {
        height: calc(88px - 1px);
      }

      &.on {
        color: #1784fc;

        > .menu-name {
          color: #1784fc;
        }
      }

      .more-sub-menu {
        flex-direction: row;
        flex-wrap: wrap;
        padding-bottom: 18px;

        > text {
          height: 60px;
          border-radius: 6px;
          background-color: #f5f5f5;
          color: #666666;
          margin-bottom: 12px;
          margin-right: 8px;
          text-align: center;
          line-height: 60px;
          border: solid #f5f5f5 1px;
          flex: 0 0 calc(33.33% - 10px);
          overflow: hidden;
          font-size: 24px;

          &:nth-child(3n) {
            margin-right: 0;
          }

          &.on {
            color: #1784fc;
          }
        }
        > taro-text-core {
          height: 60px;
          border-radius: 6px;
          background-color: #f5f5f5;
          color: #666666;
          margin-bottom: 12px;
          margin-right: 8px;
          text-align: center;
          line-height: 60px;
          border: solid #f5f5f5 1px;
          flex: 0 0 calc(33.33% - 10px);
          overflow: hidden;
          font-size: 24px;

          &:nth-child(3n) {
            margin-right: 0;
          }

          &.on {
            color: #1784fc;
          }
        }
      }
    }
  }
}
.hierarchyLeft {
  width: 30vw;
  height: 70vh;
  flex-direction: column;

  .sub-menu {
    min-height: 88px;
    font-size: 26px;
    flex-direction: column;
    padding-right: 30px;
    align-items: center;

    > .menu-name {
      font-size: 24px;
      padding: 10px 0;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      min-height: 88px;
    }
  }

  &.first {
    flex-shrink: 0;
    width: 30vw;
    background-color: #f6f6f6;

    .sub-menu {
      padding-left: 30px;

      &.on {
        background-color: #ffffff;
      }
    }
  }

  &.alone {
    max-height: 70vh;
    min-height: 340px;
    height: auto;

    .sub-menu {
      min-height: calc(88px - 1px);
      margin-left: 30px;

      &.on {
        color: #1784fc;

        > .menu-name {
          color: #1784fc;
        }
      }
    }
  }

  &.not-first {
    .sub-menu {
      min-height: calc(88px - 1px);
      margin-left: 30px;

      > .menu-name {
        height: calc(88px - 1px);
      }

      &.on {
        color: #1784fc;

        > .menu-name {
          color: #1784fc;
        }
      }

      .more-sub-menu {
        flex-direction: row;
        flex-wrap: wrap;
        padding-bottom: 18px;

        > text {
          height: 60px;
          border-radius: 6px;
          background-color: #f5f5f5;
          color: #666666;
          margin-bottom: 12px;
          margin-right: 8px;
          text-align: center;
          line-height: 60px;
          border: solid #f5f5f5 1px;
          flex: 0 0 calc(33.33% - 10px);
          overflow: hidden;
          font-size: 24px;

          &:nth-child(3n) {
            margin-right: 0;
          }

          &.on {
            color: #1784fc;
          }
        }
        > taro-text-core {
          height: 60px;
          border-radius: 6px;
          background-color: #f5f5f5;
          color: #666666;
          margin-bottom: 12px;
          margin-right: 8px;
          text-align: center;
          line-height: 60px;
          border: solid #f5f5f5 1px;
          flex: 0 0 calc(33.33% - 10px);
          overflow: hidden;
          font-size: 24px;

          &:nth-child(3n) {
            margin-right: 0;
          }

          &.on {
            color: #1784fc;
          }
        }
      }
    }
  }
}
.hierarchyRight {
  width: 70vw;
  height: 70vh;
  flex-direction: column;

  .sub-menu {
    min-height: 88px;
    font-size: 26px;
    flex-direction: column;
    padding-right: 30px;
    align-items: center;

    > .menu-name {
      font-size: 24px;
      padding: 10px 0;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      min-height: 88px;
    }
  }

  &.first {
    flex-shrink: 0;
    width: 50vw;
    background-color: #f6f6f6;

    .sub-menu {
      padding-left: 30px;

      &.on {
        background-color: #ffffff;
      }
    }
  }

  &.alone {
    max-height: 70vh;
    min-height: 340px;
    height: auto;

    .sub-menu {
      min-height: calc(88px - 1px);
      margin-left: 30px;

      &.on {
        color: #1784fc;

        > .menu-name {
          color: #1784fc;
        }
      }
    }
  }

  &.not-first {
    .sub-menu {
      min-height: calc(88px - 1px);
      margin-left: 30px;

      > .menu-name {
        height: calc(88px - 1px);
      }

      &.on {
        color: #1784fc;

        > .menu-name {
          color: #1784fc;
        }
      }

      .more-sub-menu {
        flex-direction: row;
        flex-wrap: wrap;
        padding-bottom: 18px;

        > text {
          height: 60px;
          border-radius: 6px;
          background-color: #f5f5f5;
          color: #666666;
          margin-bottom: 12px;
          margin-right: 8px;
          text-align: center;
          line-height: 60px;
          border: solid #f5f5f5 1px;
          flex: 0 0 calc(33.33% - 10px);
          overflow: hidden;
          font-size: 24px;

          &:nth-child(3n) {
            margin-right: 0;
          }

          &.on {
            color: #1784fc;
          }
        }
        > taro-text-core {
          height: 60px;
          border-radius: 6px;
          background-color: #f5f5f5;
          color: #666666;
          margin-bottom: 12px;
          margin-right: 8px;
          text-align: center;
          line-height: 60px;
          border: solid #f5f5f5 1px;
          flex: 0 0 calc(33.33% - 10px);
          overflow: hidden;
          font-size: 24px;

          &:nth-child(3n) {
            margin-right: 0;
          }

          &.on {
            color: #1784fc;
          }
        }
      }
    }
  }
}
.filter {
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  .menu-box {
    padding: 30px 50px;
    flex-shrink: 1;

    .box {
      width: 100vw;
      flex-direction: column;
      .title {
        width: 100vw;
        font-size: 26px;
        color: #888;
      }

      .on {
        color: #1784fc;
      }

      > view {
        margin: 15px 0;
        color: #666666;
        font-size: 28px;
      }

      > taro-view-core {
        width: 148px;
        height: 60px;
        border: solid 1px #adadad;
        border-radius: 4px;
        margin-right: 30px;
        margin-top: 16px;
        font-size: 24px;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        &:nth-child(4n) {
          margin-right: 0;
        }
      }
    }
  }

  .btn-box {
    flex-shrink: 0;
    width: 698px;
    height: 150px;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;

    > view {
      width: 320px;
      height: 80px;
      border-radius: 80px;
      border: solid 1px #1784fc;
      align-items: center;
      justify-content: center;
    }

    > taro-view-core {
      width: 320px;
      height: 80px;
      border-radius: 80px;
      border: solid 1px #1784fc;
      align-items: center;
      justify-content: center;
    }

    .reset {
      color: #1784fc;
    }

    .submit-btn {
      color: #ffffff;
      background-color: #1784fc;
    }
  }
}
.select {
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  .menu-box {
    padding: 30px 50px;
    flex-shrink: 1;

    .box {
      width: 100vw;
      flex-direction: column;
      .title {
        width: 100vw;
        font-size: 26px;
        color: #888;
      }

      .on {
        color: #1784fc;
      }

      > view {
        margin: 15px 0;
        color: #666666;
        font-size: 28px;
      }

      > taro-view-core {
        width: 148px;
        height: 60px;
        border: solid 1px #adadad;
        border-radius: 4px;
        margin-right: 30px;
        margin-top: 16px;
        font-size: 24px;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        &:nth-child(4n) {
          margin-right: 0;
        }
      }
    }
  }

  .btn-box {
    flex-shrink: 0;
    width: 698px;
    height: 150px;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;

    > view {
      width: 320px;
      height: 80px;
      border-radius: 80px;
      border: solid 1px #1784fc;
      align-items: center;
      justify-content: center;
    }

    > taro-view-core {
      width: 320px;
      height: 80px;
      border-radius: 80px;
      border: solid 1px #1784fc;
      align-items: center;
      justify-content: center;
    }

    .reset {
      color: #1784fc;
    }

    .submit-btn {
      color: #ffffff;
      background-color: #1784fc;
    }
  }
}
.mask {
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.15s linear;

  &.show {
    background-color: rgba(0, 0, 0, 0.5);
  }

  &.hide {
    display: none;
  }
}
.fc {
  color: #1784fc;
}
